\documentclass[main.tex]{subfiles}
\begin{document}

\section{Chapter 2}

This is Chapter 2, provided in a second sub file. 

\end{document}
